package test.org.dbstar.scheduler;

import org.springframework.jdbc.core.JdbcTemplate;

/**
 * 使用JdbcTemplate的TestCase基类
 * 
 * @author 代波
 * @since 1.0.0
 * @version 1.0.0
 * @date 2012-4-21
 */
public abstract class JdbcTemplateTestCase extends DataSourceTestCase {
	protected JdbcTemplate jt;

	@Override
	protected void setUp() throws Exception {
		super.setUp();
		jt = new JdbcTemplate(ds);
	}

	@Override
	protected void tearDown() throws Exception {
		jt = null;
		super.tearDown();
	}
}
